package com.it.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String realname;
    private String email;
    private Integer type;
    private Long createTime;
    private Long updateTime;
    private String phone;
    private String qq;
    private Integer isActive; // 邮箱激活状态
    private String salt; // 注册密码盐   // 随机盐
    @TableLogic
    private int isDeleted;

}
